package com.ml.mall.entity.company;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author pl
* Created 2021-06-15
*/
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("sys_user_company_relation")
    @ApiModel(value="SysUserCompanyRelation对象", description="")
public class SysUserCompanyRelation implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
    * 账号为邮箱；
    */
    @ApiModelProperty(value = "账号为邮箱；")
    @TableField("acc")
    private String acc;

    /**
    * 公司ID
    */
    @ApiModelProperty(value = "公司ID")
    @TableField("company_id")
    private Long companyId;

    /**
    * 公司名称
    */
    @ApiModelProperty(value = "公司名称")
    @TableField("company_name")
    private String companyName;

    @TableField("role_id")
    private Integer roleId;


}
